package com.cskaoyan.service;

import com.cskaoyan.model.User;

import java.util.List;

/**
 * @PROJECT_NAME: git_homework
 * @DESCRIPTION:
 * @Author: qiu
 * @DATE: 2021/10/16 22:18
 */
public interface UserService {


    User login(User user);

    void register(User user);
    User selectByPrimaryKey(Integer id);
    List<User> getAllUser();

    List<User> getUserLikeUsername(String username);
}
